package cn.org.donald.framework.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ： Donald
 * @date ： 2020/10/25 01:24
 * @description：
 */
@Configuration
@ConfigurationProperties(prefix = "donald.authorization",ignoreInvalidFields = true)
public class AuthorizationProperties {

    private long timeout = 30L;

    public long getTimeout() {
        return timeout;
    }

    public void setTimeout(long timeout) {
        this.timeout = timeout;
    }
}
